cmake_minimum_required(VERSION 3.10)
project(QuoteDemo)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)

# 查找所有需要的 Qt 模块
find_package(Qt5 COMPONENTS Core REQUIRED)

add_executable(quote_demo
    quote_demo.cpp
)

target_link_libraries(quote_demo
    PRIVATE
    Qt5::Core
    CTPQuoteEngine
)

# 添加头文件搜索路径
target_include_directories(quote_demo
    PRIVATE
    ${CMAKE_SOURCE_DIR}/include
) 